package demo2;

public class Card {

    private String cardNo;
    private String cardName;


    public Card() {
    }

    public Card(String cardNo, String cardName) {
        this.cardNo = cardNo;
        this.cardName = cardName;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }
}
